package com.bicon.botu.mall.order.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.bicon.botu.core.base.repository.mybatis.UuidBaseEntity;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @auther 裴志鹏
 * @date 2017/7/20 11:19
 */
@Data
@TableName("order_item")
public class OrderItem extends UuidBaseEntity<OrderItem> {

	/**
	 * 订单id
	 */
	@TableField("order_id")
	private String orderId;

	/**
	 * 商品id
	 */
	@TableField("goods_id")
	private String goodsId;

	/**
	 * 商品名称
	 */
	@TableField("goods_name")
	private String goodsName;

	/**
	 * 商品数量
	 */
	@TableField("goods_number")
	private Integer goodsNumber;

	/**
	 * sku名称
	 */
	@TableField("sku_name")
	private String skuName;

	/**
	 * 商品列表展示图
	 */
	@TableField("item_image")
	private String itemImage;

	/**
	 * 市场价
	 */
	@TableField("goods_market_price")
	private BigDecimal goodsMarketPrice;

	/**
	 * 平台价
	 */
	@TableField("goods_platform_price")
	private BigDecimal goodsPlatformPrice;

	/**
	 * 优惠券id
	 */
	@TableField("promotions_discount_id")
	private String promotionsDiscountId;

}
